<?php include "header.html"; ?> 

<body>
 
	<div class="zss-wrap">

		<div class="zss-header">
            <span class="layui-breadcrumb">
                <?= $this->get_loc($this->baseClass . '?mid=' . $global["mid"], "编辑"); ?>
            </span>
        </div>

		<div class="zss-nav">
			<a type="button" class="layui-btn" href="<?= U($this->baseClass, $this->getArgs()) ?>">
				<i class="layui-icon layui-icon-return"></i> 返回 
			</a>
		</div>

		<div class="zss-content">

			<div class="layui-tab layui-tab-brief">
				<ul class="layui-tab-title">
					<a><li class="layui-this">编辑内容</li></a>
				</ul>
			</div>

			<div class="zss-form-box">
				<form action="<?= U($this->baseClass . '/submit', $this->getArgs()) ?>" method="post" class="layui-form">
					<div class="layui-form-item">
						<label class="layui-form-label">虚拟票数</label>
						<div class="layui-input-block">
							<input type="text" name="works_number" lay-verify="required" placeholder="" autocomplete="off" class="layui-input" value="<?= $row['works_number'] ?>">
						</div>
					</div>

					<div class="layui-form-item">
						<div class="layui-input-block">
						  <input type="hidden" value="<?= $global['id'] ?>" name="id" />
						  <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
						</div>
					</div>
				</form>
			</div>

		</div>
	</div>
	
	<script>
		layui.use(['element', 'form', 'laydate'], function() {
			var laydate = layui.laydate;
			//执行一个laydate实例
			laydate.render({
				elem: '#input_time' //指定元素
				,type: 'datetime'
			});
		});
	</script>
</form>  
</body>
</html>
